package com.goldcn.goods.dao;

import com.goldcn.goods.model.GoodsTag;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface GoodsTagMapper {
    int deleteByPrimaryKey(Long goodsTagID);

    int insert(GoodsTag record);

    int insertSelective(GoodsTag record);

    GoodsTag selectByPrimaryKey(Long goodsTagID);

    int updateByPrimaryKeySelective(GoodsTag record);

    int updateByPrimaryKey(GoodsTag record);


    int deleteGoodsTag(@Param("goodsID") Long goodsID);

    List<Map<String, Object>> selectListByGoodsId(@Param("goodsID") Long goodsID);
}